import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/screen_util.dart';
import 'package:tianpu_edu/Classes/Login/View/login_view.dart';
import 'package:tianpu_edu/Classes/libs/tool_base_page.dart';
import 'package:tianpu_edu/Classes/libs/tool_image_utils.dart';
import 'package:tianpu_edu/Classes/libs/tool_navigation_utils.dart';

class LoginPage extends CatBaseWidgetPage {
  @override
  _LoginPageState getState() => _LoginPageState();
}

class _LoginPageState extends CatBaseWidgetPageState<LoginPage> {

  @override
  void initState() {
    super.initState();
    title = ' ';
    isBuild = true;
  }
  @override
  Widget buildWidget(BuildContext context) {
    return Container(padding: EdgeInsets.only(top: kToolbarHeight),
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Container( padding: EdgeInsets.only(bottom: 20,left: 6
            ),
                child: IconButton(icon: Icon(Icons.arrow_back_ios),iconSize: 30,
                  onPressed: (){
                    NavigationUtil.pop(context);
                  },
                )

            ),
            LoginView(),
          ],
        ));
  }
}
